#ifndef PERSO_H
#define PERSO_H
#include <cstdlib>
#include "graphics.h"
#include "Vector.h"


class Perso
{
    public:
    Perso();

    //update position (and draw, but soon this will be done by graphics.h)
    void Update(graphics* screen);

    //change the directions booleans
    void move (bool state, std::string direction);

    private:
    int m_PV;
    int m_PosX, m_PosY; //position on the map
    bool m_right, m_left, m_up, m_down; //directions booleans
    Vector vect;
    SDL_Surface* m_image;
    SDL_Rect m_ScreenPos; //position on the player's window
};

#endif // PERSO_H
